<?php

class Category extends Eloquent
{
	protected $table = "category";

	public function product()
	{
		return $this->hasMany('Product', 'id');
	}
}